VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Metadata Namespace / PhotoshopResourceCodec Class / Decode Methods / Decode(Byte[],Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Decode(Byte[],Int32) Method (PhotoshopResourceCodec)
In This Topic
Decodes and returns a collection of Photoshop resources from specified byte array.
Syntax
'Declaration

Public Overloads Function Decode( _
ByVal data
Byte array that contains Photoshop resources data.
() As Byte, _
ByVal offset
The starting index in the byte array at which to begin reading data.
As System.Int32 _
) As PhotoshopResource[]
public PhotoshopResource[] Decode(
byte[] data,
System.Int32 offset
)

Parameters

data
Byte array that contains Photoshop resources data.
offset
The starting index in the byte array at which to begin reading data.

Return Value

An array of PhotoshopResource objects.
Exceptions
ExceptionDescription
Thrown if data is null.
Thrown if offset is less than 0 or greater than or equal to length of data.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also